package com.example.study.utils;

import com.example.study.common.login.dto.UserTokenWrapperDTO;

/**
 * @author kuotian
 */
public class UserUtil {
    public static UserTokenWrapperDTO quickLogin(String phone) {
        String loginUuid = ServiceUtil.getUUID();
        UserTokenWrapperDTO userTokenWrapperDTO = UserTokenWrapperDTO.builder().build();
        userTokenWrapperDTO.setToken(loginUuid);
        userTokenWrapperDTO.setHasPassword(true);
        return userTokenWrapperDTO;
    }


}
